﻿@page
@model OpenPms.Areas.M.Pages.Setup.RoomNo.IndexModel
@{
    ViewData["Title"] = "房间";

}
@* Mobile *@

<form id="FormGet">
    <wx-select-link asp-for-1="OrderFlag" asp-select-1="Html.GetEnumSelectList<ERoomNoOrder>()"
                    asp-link-text-2="添加" asp-page-2="./Edit" />
</form>
<wx-list asp-items="Items"
         asp-for-1="Item.RoomNo" asp-for-2="Item.RoomTypeName" asp-for-3="Item.Desc" asp-for-4=Item.ArrangeIndex
         asp-page="./Edit" asp-route-id="Item.Id" />
@section scripts
{
    <script>
        $(function () {
            $("#OrderFlag").change(function () {
                $("#FormGet").submit();
            });
        });
    </script>
}